From ee26e0f17d3955bc3db813c4f369a688dd393d43 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Nov 2005 16:31:48 +0000 Subject: [PATCH] Raise the drag_window after reconfiguring the toolbar. (#320803, Christian 2005-11-07 Matthias Clasen * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): Raise the drag_window after reconfiguring the toolbar. (#320803, Christian Persch) --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ gtk/gtktoolitem.c | 3 +++ 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 27e4eb1170..a82a7e8e30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-11-07 Matthias Clasen + * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): + Raise the drag_window after reconfiguring the + toolbar. (#320803, Christian Persch) + * gtk/gtk.symbols: * gtk/gtkfilechooserbutton.h: * gtk/gtkfilechooserbutton.c: Add a focus-on-click property diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 27e4eb1170..a82a7e8e30 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2005-11-07 Matthias Clasen + * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): + Raise the drag_window after reconfiguring the + toolbar. (#320803, Christian Persch) + * gtk/gtk.symbols: * gtk/gtkfilechooserbutton.h: * gtk/gtkfilechooserbutton.c: Add a focus-on-click property diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index 35407444a2..b5708221fd 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -1138,6 +1138,9 @@ _gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item) g_signal_emit (tool_item, toolitem_signals[TOOLBAR_RECONFIGURED], 0); gtk_widget_queue_resize (GTK_WIDGET (tool_item)); + + if (tool_item->priv->drag_window) + gdk_window_raise (tool_item->priv->drag_window); } #define __GTK_TOOL_ITEM_C__ -- 2.30.2